package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 消息对象 sys_msg
 * 
 * @author ruoyi
 * @date 2025-05-10
 */
public class SysMsgNum
{
    private static final long serialVersionUID = 1L;


    /** 消息类型（1系统消息 2设备消息） */
    @Excel(name = "消息类型", readConverterExp = "1=系统消息,2=设备消息")
    private String type;

    /** 消息类型（1系统消息 2设备消息） */
    @Excel(name = "消息类型", readConverterExp = "1=系统消息,2=设备消息")
    private String typeName;

    /** 消息内容 */
    @Excel(name = "消息数量")
    private Integer num;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
